package cn.com.cifi.mars.service;

import cn.com.cifi.mars.entity.MdmProjectPatner;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * （主数据）项目-合作方 服务类
 * </p>
 *
 * @author yyd
 * @since 2019-09-24
 */
public interface ProjectPatnerService extends IService<MdmProjectPatner> {

	MdmProjectPatner selectByProjectIdAndPartnerNo(String projectId, String partnerNo);

	void updateByProjectIdAndPartnerNo(MdmProjectPatner projectPatner);

	MdmProjectPatner selectByFidAndPartnerNo(String projectId);
	
	void insertPartnerList(@Param("list")List<MdmProjectPatner> list);
}
